<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addNewNavigate.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr><!--第一个tr开始，头部背景-->
      <td width="17" valign="top" background="images/mail_leftbg.gif">
      	<img src="images/left-top-right.gif" width="17" height="29" />
      </td>
      <td valign="top" background="images/content-bg.gif">
      	<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
        	<tr>
          		<td height="31"><div class="titlebt">欢迎界面</div></td>
        	</tr>
      	</table>
      </td>
      <td width="16" valign="top" background="images/mail_rightbg.gif">
      	<img src="images/nav-right-bg.gif" width="16" height="29" />
      </td>
    </tr><!--第一个tr结束-->
    
    <tr><!--第二个tr开始，中间待添加的内容-->
      <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
      
      <td valign="middle" bgcolor="#F7F8F9" align="center"><!--在此处添加内容开始-->
      	<div style="height:480px;border:1px solid red;">
      	<form action="">
      	<table align="center" border=1><tr><td>导航名称：</td><td><input type="text" name="tbNavigate.navigateName"> </td></tr>
      	<tr><td>导航图片：</td><td><input type="file" name="tbNavigate.navigatePic"> </td></tr>
      	<tr><td>导航URL：</td><td><input type="text" name="tbNavigatetbNavigate.url"> </td></tr>
      	<tr><td>显示顺序：</td><td><input type="text" name="tbNavigate.order"> </td></tr>
      	<tr><td>父导航：</td><td><select name="tbNavigate.fatherNavigate">
      	<option>父导航</option>
                       <s:iterator value="#request.fatherNavigateList" id="b">
                       <option><s:property value="tbNavigate.navigateName"/></option>
                       </s:iterator>
                       </select></tr>
      	<tr><td>导航内容：</td><td><select name="tbNavigate.type">
      	<option>文章类型</option><option>视频类型</option><option>图片类型</option>
      	<option>
      	静态内容</option>
      	</select> </td></tr>
      	<tr><td></td><td><input type="submit" value="添加"> <input type="reset" value="重置"> </td></tr>
      	</table>
      	</form>
      	</div>
      </td><!--在此处添加内容结束-->
      
      <td background="images/mail_rightbg.gif">&nbsp;</td>
    </tr><!--第二个tr结束-->
    
    
    <tr><!--第三个tr开始，底部背景-->
      <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
      <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
      <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
    </tr><!--第三个tr结束-->
  </table>
  </body>
</html>
